export default {
	chooseNav(tree) {
		const area = tree.initArea();
		area.add(
			area.jsSelect({
				span: 24,
				name: 'storeNav',
				placeholder: '选择导航',
				style: { display: 'block' },
				initValue: localStorage.storeNav || 'tabs',
				options: [{
						label: 'tabs',
						value: 'tabs'
					},
					{
						label: 'breadcrumb',
						value: 'breadcrumb'
					}
				]
			})
		);
	}
}
